package com.walleipt.corgi.api.utils;

import javax.sql.DataSource;

import org.h2.jdbcx.JdbcConnectionPool;

public class H2JdbcUtils {
	
	 private static JdbcConnectionPool ds;
	 static {
		 ds = JdbcConnectionPool.create("jdbc:h2:mem:test2", "sa", "");
	     ds.setMaxConnections(1000);
	 }
	 public static DataSource getDataSource() {
    	return ds ;
    }
}
